package cc.greencat.gcmall.member.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 会员登录记录
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:52:23
 */
@TableName("member_login_log")
public class MemberLoginLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * member_id
	 */
	private Long memberId;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * ip
	 */
	private String ip;
	/**
	 * city
	 */
	private String city;
	/**
	 * 登录类型[1-web，2-app]
	 */
	private Integer loginType;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set member_id
	 */
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    /**
	 * get member_id
	 */
    public Long getMemberId(){
        return this.memberId;
    }
	/**
	 * set 创建时间
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get 创建时间
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set ip
	 */
    public void setIp(String ip){
        this.ip = ip;
    }
    /**
	 * get ip
	 */
    public String getIp(){
        return this.ip;
    }
	/**
	 * set city
	 */
    public void setCity(String city){
        this.city = city;
    }
    /**
	 * get city
	 */
    public String getCity(){
        return this.city;
    }
	/**
	 * set 登录类型[1-web，2-app]
	 */
    public void setLoginType(Integer loginType){
        this.loginType = loginType;
    }
    /**
	 * get 登录类型[1-web，2-app]
	 */
    public Integer getLoginType(){
        return this.loginType;
    }

}
